package com.df.ez_game.core;

import com.df.ez_game.server.NodeType;
import lombok.Data;

@Data
public abstract class LayerServerNode {
    private String id;
    private String name;
    private NodeType type;

    /**
     * 节点启动方法
     */
    public abstract void start();

    /**
     * 节点停止方法
     */
    public abstract void stop();
}
